package com.anhry.app.safety.manage.enterprise.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TbCorpInfoView entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_CORP_INFO_VIEW")
public class TbCorpInfoView implements java.io.Serializable {

	// Fields

	private Long id;
	private String corpName;
	private String corpCode;
	private String corpGrade;
	private String corpOrgCode;
	private String corpRegAddress;
	private String corpWorkAddress;
	private String corpOfficeAddress;
	private String corpPost;
	private String corpProperty;
	private String corpGsCode;
	private Double corpZhucezichang;
	private Double corpGudingzichang;
	private Date corpRegDate;
	private String corpIsZyb;
	private String corpIsTeshe;
	private String corpIsShewei;
	private String corpIsDanger;
	private String corpIsBlzh;//是否有避雷装置0：无1：有
	private Long corpRegType;
	private String corpAuditState;
	private Date updateTime;
	private String updateFalg;
	private String updateUser;
	private Date corpAddTime;
	private String corpAddUser;
	private String corpClose;
	private String corpCloseWhy;
	private String corpReportType;
	private String isDele;
	private String corpSize;
	private Long corpSjId;//如为二级企业  一级企业的id
	private String corpSjName;//一级企业名称
	private Long countyId;//县(市、区)、开发区id
	private String countyName;//县(市、区)、开发区名称
	private Long unitId;//乡镇、街道id
	private String unitName;//乡镇、街道名称
	private Long deptId;//村、社区id
	private String deptName;//村、社区名称
	private Long maxTypeId;//企业类型大类id
	private String maxTypeName;//企业类型大类名称
	private Long minTypeId;//企业类型小类id
	private String minTypeName;//企业类型小类id
	private Long deptMainId;//行业部门id
	private String deptMainName;//行业部门名称
	private String quDeptIds;//县区科室主管部门
	private String corpStatus;
	private String corpLixu;

	// Constructors

	

	/** default constructor */
	public TbCorpInfoView() {
	}

	/** full constructor */
	public TbCorpInfoView(Long id) {
		this.id = id;
	}

	public TbCorpInfoView(Long id, String corpName, String corpCode,
			String corpOrgCode, String corpRegAddress, String corpWorkAddress,
			String corpOfficeAddress, String corpPost, String corpProperty,
			String corpGsCode, Double corpZhucezichang,
			Double corpGudingzichang, Date corpRegDate, String corpIsZyb,
			String corpIsTeshe, String corpIsShewei, String corpIsDanger,
			Long corpRegType, String corpAuditState, Date updateTime,
			String updateFalg, String updateUser, Date corpAddTime,
			String corpClose, String corpCloseWhy, String corpReportType,
			Long countyId, String countyName, Long unitId, String unitName,
			Long deptId, String deptName, Long maxTypeId, String maxTypeName,
			Long minTypeId, String minTypeName, Long deptMainId,
			String deptMainName,String corpLixu) {
		this.id = id;
		this.corpLixu = corpLixu;
		this.corpName = corpName;
		this.corpCode = corpCode;
		this.corpOrgCode = corpOrgCode;
		this.corpRegAddress = corpRegAddress;
		this.corpWorkAddress = corpWorkAddress;
		this.corpOfficeAddress = corpOfficeAddress;
		this.corpPost = corpPost;
		this.corpProperty = corpProperty;
		this.corpGsCode = corpGsCode;
		this.corpZhucezichang = corpZhucezichang;
		this.corpGudingzichang = corpGudingzichang;
		this.corpRegDate = corpRegDate;
		this.corpIsZyb = corpIsZyb;
		this.corpIsTeshe = corpIsTeshe;
		this.corpIsShewei = corpIsShewei;
		this.corpIsDanger = corpIsDanger;
		this.corpRegType = corpRegType;
		this.corpAuditState = corpAuditState;
		this.updateTime = updateTime;
		this.updateFalg = updateFalg;
		this.updateUser = updateUser;
		this.corpAddTime = corpAddTime;
		this.corpClose = corpClose;
		this.corpCloseWhy = corpCloseWhy;
		this.corpReportType = corpReportType;
		this.countyId = countyId;
		this.countyName = countyName;
		this.unitId = unitId;
		this.unitName = unitName;
		this.deptId = deptId;
		this.deptName = deptName;
		this.maxTypeId = maxTypeId;
		this.maxTypeName = maxTypeName;
		this.minTypeId = minTypeId;
		this.minTypeName = minTypeName;
		this.deptMainId = deptMainId;
		this.deptMainName = deptMainName;
	}

	@Id
	@Column(name = "ID", precision = 11, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "CORP_NAME", length = 256)
	public String getCorpName() {
		return this.corpName;
	}
	
	@Column(name = "CORP_LIXU", length = 10)
	public String getCorpLixu() {
		return corpLixu;
	}

	public void setCorpLixu(String corpLixu) {
		this.corpLixu = corpLixu;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	@Column(name = "CORP_CODE", length = 56)
	public String getCorpCode() {
		return this.corpCode;
	}

	public void setCorpCode(String corpCode) {
		this.corpCode = corpCode;
	}

	@Column(name = "CORP_ORG_CODE", length = 32)
	public String getCorpOrgCode() {
		return this.corpOrgCode;
	}

	public void setCorpOrgCode(String corpOrgCode) {
		this.corpOrgCode = corpOrgCode;
	}

	@Column(name = "CORP_REG_ADDRESS", length = 256)
	public String getCorpRegAddress() {
		return this.corpRegAddress;
	}

	public void setCorpRegAddress(String corpRegAddress) {
		this.corpRegAddress = corpRegAddress;
	}

	@Column(name = "CORP_WORK_ADDRESS", length = 256)
	public String getCorpWorkAddress() {
		return this.corpWorkAddress;
	}

	public void setCorpWorkAddress(String corpWorkAddress) {
		this.corpWorkAddress = corpWorkAddress;
	}

	@Column(name = "CORP_OFFICE_ADDRESS", length = 256)
	public String getCorpOfficeAddress() {
		return this.corpOfficeAddress;
	}

	public void setCorpOfficeAddress(String corpOfficeAddress) {
		this.corpOfficeAddress = corpOfficeAddress;
	}

	@Column(name = "CORP_POST", length = 10)
	public String getCorpPost() {
		return this.corpPost;
	}

	public void setCorpPost(String corpPost) {
		this.corpPost = corpPost;
	}

	@Column(name = "CORP_PROPERTY", length = 32)
	public String getCorpProperty() {
		return this.corpProperty;
	}

	public void setCorpProperty(String corpProperty) {
		this.corpProperty = corpProperty;
	}

	@Column(name = "CORP_GS_CODE", length = 56)
	public String getCorpGsCode() {
		return this.corpGsCode;
	}

	public void setCorpGsCode(String corpGsCode) {
		this.corpGsCode = corpGsCode;
	}

	@Column(name = "CORP_ZHUCEZICHANG", precision = 15)
	public Double getCorpZhucezichang() {
		return this.corpZhucezichang;
	}

	public void setCorpZhucezichang(Double corpZhucezichang) {
		this.corpZhucezichang = corpZhucezichang;
	}

	@Column(name = "CORP_GUDINGZICHANG", precision = 15)
	public Double getCorpGudingzichang() {
		return this.corpGudingzichang;
	}

	public void setCorpGudingzichang(Double corpGudingzichang) {
		this.corpGudingzichang = corpGudingzichang;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CORP_REG_DATE", length = 7)
	public Date getCorpRegDate() {
		return this.corpRegDate;
	}

	public void setCorpRegDate(Date corpRegDate) {
		this.corpRegDate = corpRegDate;
	}

	@Column(name = "CORP_IS_ZYB", length = 1)
	public String getCorpIsZyb() {
		return this.corpIsZyb;
	}

	public void setCorpIsZyb(String corpIsZyb) {
		this.corpIsZyb = corpIsZyb;
	}

	@Column(name = "CORP_IS_TESHE", length = 1)
	public String getCorpIsTeshe() {
		return this.corpIsTeshe;
	}

	public void setCorpIsTeshe(String corpIsTeshe) {
		this.corpIsTeshe = corpIsTeshe;
	}

	@Column(name = "CORP_IS_SHEWEI", length = 1)
	public String getCorpIsShewei() {
		return this.corpIsShewei;
	}

	public void setCorpIsShewei(String corpIsShewei) {
		this.corpIsShewei = corpIsShewei;
	}

	@Column(name = "CORP_IS_DANGER", length = 1)
	public String getCorpIsDanger() {
		return this.corpIsDanger;
	}

	public void setCorpIsDanger(String corpIsDanger) {
		this.corpIsDanger = corpIsDanger;
	}

	@Column(name = "CORP_REG_TYPE", precision = 2, scale = 0)
	public Long getCorpRegType() {
		return this.corpRegType;
	}

	public void setCorpRegType(Long corpRegType) {
		this.corpRegType = corpRegType;
	}

	@Column(name = "CORP_AUDIT_STATE", length = 1)
	public String getCorpAuditState() {
		return this.corpAuditState;
	}

	public void setCorpAuditState(String corpAuditState) {
		this.corpAuditState = corpAuditState;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "UPDATE_TIME", length = 7)
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "UPDATE_FALG", length = 1)
	public String getUpdateFalg() {
		return this.updateFalg;
	}

	public void setUpdateFalg(String updateFalg) {
		this.updateFalg = updateFalg;
	}

	@Column(name = "UPDATE_USER", length = 256)
	public String getUpdateUser() {
		return this.updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CORP_ADD_TIME", length = 7)
	public Date getCorpAddTime() {
		return this.corpAddTime;
	}

	public void setCorpAddTime(Date corpAddTime) {
		this.corpAddTime = corpAddTime;
	}

	@Column(name = "CORP_CLOSE", length = 1)
	public String getCorpClose() {
		return this.corpClose;
	}

	public void setCorpClose(String corpClose) {
		this.corpClose = corpClose;
	}
	
	@Column(name = "IS_DELE", length = 1)
	public String getIsDele() {
		return isDele;
	}

	public void setIsDele(String isDele) {
		this.isDele = isDele;
	}

	@Column(name = "CORP_CLOSE_WHY", length = 256)
	public String getCorpCloseWhy() {
		return this.corpCloseWhy;
	}

	public void setCorpCloseWhy(String corpCloseWhy) {
		this.corpCloseWhy = corpCloseWhy;
	}

	@Column(name = "CORP_REPORT_TYPE", length = 1)
	public String getCorpReportType() {
		return this.corpReportType;
	}

	public void setCorpReportType(String corpReportType) {
		this.corpReportType = corpReportType;
	}

	@Column(name = "COUNTY_ID", scale = 0)
	public Long getCountyId() {
		return this.countyId;
	}

	public void setCountyId(Long countyId) {
		this.countyId = countyId;
	}

	@Column(name = "COUNTY_NAME")
	public String getCountyName() {
		return this.countyName;
	}

	public void setCountyName(String countyName) {
		this.countyName = countyName;
	}

	@Column(name = "UNIT_ID", scale = 0)
	public Long getUnitId() {
		return this.unitId;
	}

	public void setUnitId(Long unitId) {
		this.unitId = unitId;
	}

	@Column(name = "UNIT_NAME")
	public String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	@Column(name = "DEPT_ID", scale = 0)
	public Long getDeptId() {
		return this.deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	@Column(name = "DEPT_NAME")
	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@Column(name = "MAX_TYPE_ID", precision = 11, scale = 0)
	public Long getMaxTypeId() {
		return this.maxTypeId;
	}

	public void setMaxTypeId(Long maxTypeId) {
		this.maxTypeId = maxTypeId;
	}

	@Column(name = "MAX_TYPE_NAME", length = 225)
	public String getMaxTypeName() {
		return this.maxTypeName;
	}

	public void setMaxTypeName(String maxTypeName) {
		this.maxTypeName = maxTypeName;
	}

	@Column(name = "MIN_TYPE_ID", precision = 11, scale = 0)
	public Long getMinTypeId() {
		return this.minTypeId;
	}

	public void setMinTypeId(Long minTypeId) {
		this.minTypeId = minTypeId;
	}

	@Column(name = "MIN_TYPE_NAME", length = 225)
	public String getMinTypeName() {
		return this.minTypeName;
	}

	public void setMinTypeName(String minTypeName) {
		this.minTypeName = minTypeName;
	}

	@Column(name = "DEPT_MAIN_ID", precision = 11, scale = 0)
	public Long getDeptMainId() {
		return this.deptMainId;
	}

	public void setDeptMainId(Long deptMainId) {
		this.deptMainId = deptMainId;
	}

	@Column(name = "DEPT_MAIN_NAME", length = 225)
	public String getDeptMainName() {
		return this.deptMainName;
	}

	public void setDeptMainName(String deptMainName) {
		this.deptMainName = deptMainName;
	}
	
	@Column(name = "CORP_IS_BLZH", length = 1)
	public String getCorpIsBlzh() {
		return corpIsBlzh;
	}

	public void setCorpIsBlzh(String corpIsBlzh) {
		this.corpIsBlzh = corpIsBlzh;
	}
	
	@Column(name = "CORP_GRADE", length = 10)
	public String getCorpGrade() {
		return corpGrade;
	}

	public void setCorpGrade(String corpGrade) {
		this.corpGrade = corpGrade;
	}

	@Column(name = "CORP_ADD_USER", length = 100)
	public String getCorpAddUser() {
		return corpAddUser;
	}

	public void setCorpAddUser(String corpAddUser) {
		this.corpAddUser = corpAddUser;
	}
	
	@Column(name = "CORP_SIZE", length = 1)
	public String getCorpSize() {
		return corpSize;
	}

	public void setCorpSize(String corpSize) {
		this.corpSize = corpSize;
	}
	
	@Column(name = "CORP_SJ_ID", precision = 11, scale = 0)
	public Long getCorpSjId() {
		return corpSjId;
	}

	public void setCorpSjId(Long corpSjId) {
		this.corpSjId = corpSjId;
	}

	@Column(name = "CORP_SJ_NAME", length = 255)
	public String getCorpSjName() {
		return corpSjName;
	}

	public void setCorpSjName(String corpSjName) {
		this.corpSjName = corpSjName;
	}

	@Column(name = "QU_DEPT_IDS", length = 1000)
	public String getQuDeptIds() {
		return quDeptIds;
	}

	public void setQuDeptIds(String quDeptIds) {
		this.quDeptIds = quDeptIds;
	}
	
	@Column(name = "CORP_STATUS",length=16)
	public String getCorpStatus() {
		return corpStatus;
	}

	public void setCorpStatus(String corpStatus) {
		this.corpStatus = corpStatus;
	}
}